package cn.itcast.service.impl;

import cn.itcast.dao.DaoFactory;
import cn.itcast.dao.UserDao;
import cn.itcast.po.User;

/*
* 业务逻辑层
* */
public class UserServiceImpl {

    private UserDao userDao = DaoFactory.getInstance().getUserDao();

    public void addUser(User user){
        userDao.addUser(user);
    }
}
